package main;

import java.io.IOException;

import net.LoginSender;
import net.RegistrationSender;

public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws InterruptedException 
	 */
	public static void main(String[] args) throws InterruptedException {
		RegistrationSender.sendRegistration("Caio", "Psw");
		Thread.sleep(1000);
		LoginSender.sendLogin("Caio", "Psw");
		Thread.sleep(1000);
		//new Thread(new Sender(new Logout("Tizio", input, 1,1))).start();
		Thread.sleep(1000);
		//new Thread(new Sender(new Message("Tizio", "Caio", "Stored", input, 1,1))).start();	
		//new Thread(new Sender(new Message("Tizio", "Caio", "Stored2", input, 1,1))).start();
		//new Thread(new Sender(new Message("Tizio", "Caio", "Stored3", input, 1,1))).start();
		
		//new Thread(new Sender(new Registration("Caio", "Psw", input, 1,1))).start();
		Thread.sleep(1000);
		//new Thread(new Sender(new Login("Caio", "Psw", input, 1,1))).start();
		Thread.sleep(1000);
		//new Thread(new Sender(new StatusNotification("Caio", Status.BUSY, input, 2.3, 3.3))).start();
		//new Thread(new Sender(new Logout("Caio", input, 1,1))).start();
		/*
		new Thread(new Sender(new Registration("Giulio", "Psw", input, 1,1))).start();
		Thread.sleep(1000);
		new Thread(new Sender(new Login("Giulio", "Psw", input, 1,1))).start();
		Thread.sleep(1000);
		new Thread(new Sender(new StatusNotification("", "Giulio",Status.BUSY.toString(), input, 2.3, 3.3))).start();
		Thread.sleep(1000);
		//new Thread(new Sender(new Logout("Caio", input, 1,1))).start();
		 * */
	}

}
